package by.semerikov.config;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Map;

import by.semerikov.generator.properties.Properties;

public class YampReader {
	static String filepass = "E:\\YamlConfig.txt";
	static public Map<String, Properties> getProperties()
	{
		File file = new File(filepass);
		try {
			BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(file)));
			String line;
			while ((line = br.readLine()) != null) {
	            System.out.println( line );
	        }
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}
}
